/*
 * @Author: yangrongxin
 * @Date: 2021-08-16 09:36:27
 * @LastEditors: yangrongxin
 * @LastEditTime: 2021-09-29 09:50:57
 */
import request, { Request } from '@/restful/index';

/* 根据code获取用户的下单信息 */
export const getAuthWithCode = async (data: any) => request(Request.Login.getAuthWithCode, data);

/* 根据用户手机号获取登录信息 */
export const getAuthWithUserPhone = async (data: any) => request(Request.Login.getAuthWithUserPhone, data);

/* 根据code和当前用户获取手机号码的信息 查询用户信息 */
export const getAuthWithUserPhoneAndCode = async (data: any) => request(Request.Login.getAuthWithCodeAndPhone, data);
